package com.codefox.entity;

import java.io.Serializable;

public class TbRecipelDetails implements Serializable {
    private Integer rdId;

    private Integer recipelId;

    private Integer drugId;

    private Integer quantity;

    private String description;

    private static final long serialVersionUID = 1L;

    public Integer getRdId() {
        return rdId;
    }

    public void setRdId(Integer rdId) {
        this.rdId = rdId;
    }

    public Integer getRecipelId() {
        return recipelId;
    }

    public void setRecipelId(Integer recipelId) {
        this.recipelId = recipelId;
    }

    public Integer getDrugId() {
        return drugId;
    }

    public void setDrugId(Integer drugId) {
        this.drugId = drugId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", rdId=").append(rdId);
        sb.append(", recipelId=").append(recipelId);
        sb.append(", drugId=").append(drugId);
        sb.append(", quantity=").append(quantity);
        sb.append(", description=").append(description);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}